import layout from "@/layout/index.vue";
export const complexForm = [
	{
		path: '/complexForm',
		component: layout,
		redirect: '/complexForm/linkageForm',
		name: 'complexForm',
		meta: {
			title: '复杂表单',
			icon: 'iconfont icon-biaodanguanli'
		},
		children: [
			{
				name: 'linkageForm',
				path: '/complexForm/linkageForm',
				component: () => import('@/views/complexForm/linkageForm/index.vue'),
				meta: {
					title: '联动表单',
					roles: ['linkageForm', 'admin', 'editor'],
					keepAlive: false
				}
			},
			{
				name: 'graphicalForm',
				path: '/complexForm/graphicalForm',
				component: () => import('@/views/complexForm/graphicalForm/index.vue'),
				meta: {
					title: '图形化表单',
					roles: ['graphicalForm', 'admin', 'editor'],
					keepAlive: false
				}
			}
		]
	}
]